//
//  HUD.h
//  GameProject
//
//  Created by Blair Trusler on 25/07/2011.
//  Copyright 2011 Blair Trusler. All rights reserved.
//

#import "GameHeader.h"

@interface HUD : CCLayer <HUDDelegate>
{
    
   // SneakyJoystick *dPad;  
    SneakyButton *statButton;
    SneakyButton *optionsButton;
    SneakyButton *boostButton;
    CCSprite *player;
    
    int boostTicker;
    
    CGPoint oldPosition;
    CGPoint newPosition;
 //   HUD *_hud;
    CCMenu *boostMenu;
    CCMenuItem *boostMenuItem;
    CCLabelTTF *timerCounterLabel;
    int boostButtonTimerReset;
//    CCLabelTTF *boostNotification;
    NSString *boostNotificationString;
//    CCSpriteBatchNode *sceneSpriteBatchNode;
    SneakyJoystick *dPad;  
    
    //Global to update constantly
    CCLabelTTF *playerLevelNumber;
    CCLabelTTF *timerNumberLabel;
    CCLabelTTF *expLabel;
    BOOL gamePaused;
    
    //to fix double pressed button bug
    BOOL freeToAttack, freeToJump;  //http://gohighbeta.com/cocos2d/sneakyinput-registers-button-click-twice/

    CCSprite *alert;
}


-(void)boostAction:(id)sender;


@end
